package org.dfl.plugin.navigator;

import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ui.navigator.CommonNavigator;

/**
 * navigator to manage project's structure
 * input and actions are redirected from eclipse navigator view in plugin.xml
 * @author Piotr Wlodarczyk
 *
 */
public class ProjectNavigator extends CommonNavigator {
	public static final String ID = "org.dfl.plugin.views.projectnavigator";
	
	@Override
	protected IAdaptable getInitialInput() {
		IAdaptable res = super.getInitialInput();
		if(res == null){
			res = new FileAdapter(".\\workspace\\");
		}
		return res;
	}
}
